<!--右边栏 Start-->
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="page-header fm-hd">
                <h4><span style="font-size:12px;">当前位置：商品管理&nbsp;&gt;&nbsp;</span>代下单管理</h4>
            </div>
            <!-- 内容  开始 -->
            <div class="fm-body"  id="proxyorderFrm">
    			<form class="form-horizontal frm-ddqr" name="form1">
    			
    			<div class="setp1">
	    			<div class="jbxx bb1">
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>手机号码：<br/>（用户账户）</label>
	                        <div class="col-sm-4">
	                            <input type="text" class="form-control" name="phone" maxlength="11" datatype="checkphone" nullmsg="请填写手机号码!" errormsg="手机号码格式不对！" />
	                            <input type="hidden" name="phoneexist" />
	                        </div>
	                        <div class="col-sm-1">
	                        	<button type="button" class="btn btn-default" id="proceed_btn" style="display: none;">点此跳过继续往下操作</button>
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>用户姓名：<br/>（收件人）</label>
	                        <div class="col-sm-4">
	                            <input type="text" class="form-control" name="trueName" maxlength="25" datatype="*" nullmsg="请填写用户姓名!" >
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>收货地址：<br/>（配送小区）</label>
	                        <div class="fl mr10" style="padding:0 0 0 15px;">
	                            <select class="form-control w150" datatype="*" nullmsg="请选择收货地址!"  name="area_id">
	                           		 <option value>请选择收货地址</option>
									{{if fzarea.length>0}}
										{{each fzarea as area i}}
											<option value="{{area.id}}">{{area.areaName}}</option>
										{{/each}}
									{{/if}}
	                            </select>
	                        </div>
	                        <div class="fl mr10">
	                            	<select class="form-control w150 selectpicker"  id="comm_idbasic2" name="comm_id" data-live-search="true" data-size="10" datatype="*" nullmsg="请选择小区!"  placeholder="范例：建发领第天境湾">
	                           		 <option value>请选择小区</option>
									</select>
	                        </div>
	                        <div class="fl">
	                            <input type="text" class="form-control" name="address" maxlength="100" datatype="*" nullmsg="填写详细地址!"  placeholder="范例：A区13栋907" >
	                        </div>
	                    </div>
	                    <div class="form-group" type-target="1">
	                        <label for="firstname" class="col-sm-3 control-label">注册来源：</label>
	                        <div class="col-sm-3">
	                            <select class="form-control w150"  name="register_source">
	                            	<option value>请选择</option>
	                            	<option value="1">PC端</option>
	                            	<option value="5" selected="selected">活动推广</option>
	                            	<option value="2">APP商城</option>
	                            	<option value="21">wap</option>
	                            	<option value="22">微信</option>
	                            	<option value="3">管理后台</option>
	                            	<option value="41">宅配平台_微信端</option>
	                            </select>
	                        </div>
	                    </div>
	                    <div class="form-group" type-target="1">
	                        <label for="firstname" class="col-sm-3 control-label">微信/QQ号：</label>
	                        <div class="col-sm-4">
	                            <input type="text" name="wxqq" class="form-control" maxlength="20">
	                        </div>
	                    </div>
	    			</div>
                    <div class="spfb-btn">
                        <button class="btn btn-primary proxyorderNext" type="button">下一步</button>
                        <button type="button" class="btn btn-default imputOrder" style="display: none;">imputOrder</button>
                    </div>
	    		</div>
	    		
	    		<div class="setp2" style="display: none;">
	    			<div class="jbxx bb1">
	    				<input type="hidden" name="userid"/>
	    				<input type="hidden" name="addressid"/>
	    				<input type="hidden" name="newuser"/>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>套餐：<br/>（商品标题）</label>
	                        <div class="col-sm-3">
	                            <select class="form-control w150" name="goodsid" datatype="*" nullmsg="请选择配送套餐!"  >
	                            	<option value>请选择配送套餐</option>
	                            </select>
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>配送次数</label>
	                        <div class="col-sm-3">
	                            <select class="form-control w150" name="skuid" datatype="*" nullmsg="请选择规格类型!"  >
	                            	<option value>请选择规格类型</option>
	                            </select>
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>单价（元）：</label>
	                        <div class="col-sm-9">
	                            <input type="text" readonly="readonly" class="disinput" value="0" id="pricetxt1">
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>数量（份）:</label>
	                        <div class="col-sm-9">
	                        <input type="text" readonly="readonly"  class="disinput" value="0" id="pricetxt2">
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>金额（元）:<br/>（付款金额）</label>
	                        <div class="col-sm-9">
	                        <input type="text" readonly="readonly"  class="disinput" value="0" id="pricetxt3">
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>配送时间：</label>
	                        <div class="col-sm-3">
	                            <select class="form-control w150" name="delivery_time" datatype="*" nullmsg="请选择配送时间!"  >
	                            	<option value>请选择配送时间</option>
	                            </select>
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>配送频率：</label>
	                        <div class="col-sm-3">
	                            <select class="form-control w150" name="frequency" datatype="*" nullmsg="请选择配送频率!"  >
	                            	<option value>请选择配送频率</option>
                            		<option value="1">每周触发1次配送组合</option>
                            		<option value="2">两周触发1次配送组合</option>
                            		<option value="3">三周触发1次配送组合</option>
	                            </select>
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>付款方式：</label>
	                        <div class="col-sm-6">
	                        	<div class="fl xxsk">
	                            <input type="radio" checked="checked" name="r_pay_type">线下收款
	                        	</div>
	                            <div class="fl">
		                            <select class="form-control w150" name="pay_type" datatype="*" nullmsg="请选择付款方式!"  >
		                            	<option value>请选择付款方式</option>
		                            	<!-- 
		                            	<option value="1">现金</option>
		                            	<option value="2">个人支付宝</option>
		                            	<option value="3">个人微信</option>
		                            	<option value="4">POS收款</option>
		                            	<option value="5">通联扫码</option>
		                            	 -->
		                            	<option value="11">银商POS信</option>
		                            	<option value="12">银商POS储</option>
		                            	<option value="13">银商POS微</option>
		                            	<option value="14">银商POS支</option>
		                            	<option value="15">通联POS储</option>
		                            	<option value="16">通联POS信</option>
		                            	<option value="17">通联POS微</option>
		                            	<option value="18">通联POS支</option>
		                            	<option value="19">通联条码</option>
		                            	<option value="20">现金</option>
		                            	<option value="21" style="display: none;">商户礼券</option>
		                            	<option value="22">美团收款</option>
		                            	<option value="23">淳百味收款</option>
		                            </select>
	                            </div>
	                            <div class="fl tiptext">
	                            	<i class="iconfont">&#xe62d;</i>
	                            	<div class="poptip">
	                            		<p>银商POS信代表银联商务POS信用卡刷卡</p>
										<p>银商POS储代表银联商务POS储蓄卡刷卡</p>
										<p>银商POS微代表银联商务POS扫描客户微信账户</p>
										<p>银商POS支代表银联商务POSS扫描客户支付宝账户</p>
										<p>通联POS储代表通联POS储蓄卡刷卡</p>
										<p>通联POS信代表通联POS信用卡刷卡</p>
										<p>通联POS微代表通联POS扫描客户微信账户</p>
										<p>通联POS支代表通联POS扫描客户支付宝账户</p>
										<p>通联条码代表客户支付宝、微信扫描通联付款二维码</p>
										<p>现金代表个人现金、个人支付宝、个人微信代收款</p>            		
	                            	</div>
	                            </div>
	                        </div>
	                    </div>
	                    <div class="form-group" style="display: none;">
	                        <input type="hidden" id="currentTimeMillis" name="currentTimeMillis"/>
	                        <input type="hidden" id="exchange_code_md5" name="exchange_code_md5"/>
	                        <input type="hidden" id="sign_data" name="sign_data"/>
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>礼品卡兑换</label>
	                        <div class="col-sm-4">
	                        <input type="text"  class="form-control"  id="giftcard" name="giftcard" datatype="/^[0-9]{12}$/" nullmsg="请填写12位数字礼品卡号!"  errormsg="请填写12位数字礼品卡号!" maxlength="12"/>
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>订单日期：<br/>（下单日期）</label>
	                        <div class="col-sm-4">
	                            <input type="text" class="form-control" id="ordertime" name="ordertime" datatype="*" nullmsg="请选择订单日期" data-date-format="yyyy-mm-dd" readonly="readonly" >
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label"><span class="redstar">*</span>起配时间：<br/>（配送开始时间）</label>
	                        <div class="col-sm-4">
	                            <input type="text" class="form-control" id="starttime" name="starttime" datatype="*" nullmsg="请选择起配时间" data-date-format="yyyy-mm-dd" readonly="readonly" >
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="firstname" class="col-sm-3 control-label">其他要求：<br/>（备注）</label>
	                        <div class="col-sm-5">
	                            <textarea style="width: 100%;height: 150px;" name="remark" class="form-control"></textarea>
	                        </div>
	                    </div>
	                    <div class="form-group" style="display: none;">
	                        <label for="firstname" class="col-sm-3 control-label">销售员：</label>
	                        <div class="col-sm-4">
	                            <input type="hidden" class="form-control" maxlength="25" name="selleruser">
	                        </div>
	                    </div>
	    			</div>
                    <div class="spfb-btn">
                        <button class="btn btn-primary proxyorderSub" type="button">提交并发送随机密码至用户手机</button><button type="button" class="btn btn-default" id="ret_btn" style="display: none;">返回</button>
                    </div>
                 </div>
                </form>
            </div>
            <!-- 内容  结束 -->
        </div>
    </div>
</div>
<!--右边栏 End-->
